#include "../src/PoseGL.hpp"
#include <unistd.h>

int main()
{
  PoseGL gl;
  std::array<Cood3D,25> arrData={
    Cood3D{-0.7197311145856873,-0.4964001729701406,10.76141556190852},
    Cood3D{-0.6021994201442838,-0.2824118586103584,10.682366831423046},
    Cood3D{-0.5046152171551708,-0.3009530596575564,10.811841083225389},
    Cood3D{-0.5499514404945562,-0.09215812135409025,10.94127032107586},
    Cood3D{-0.7336246507889517,-0.12706889509462665,10.886797055821834},
    Cood3D{-0.6981047928965681,-0.26389337920989625,10.552984683640023},
    Cood3D{-0.8376767813320519,-0.05598280712210431,10.516218255044631},
    Cood3D{-1.0339026829222344,-0.023244153132912008,10.609993003919943},
    Cood3D{-0.5834924145872541,0.2516550911184796,10.734366575863074},
    Cood3D{-0.5122038752474996,0.24468423293038966,10.83043871340591},
    Cood3D{-0.5367522345011778,0.6163678486582546,10.859591165300811},
    Cood3D{-0.5096051487661841,0.9844279274074345,10.847053680541382},
    Cood3D{-0.6528443276538413,0.25774736323727854,10.638335231598887},
    Cood3D{-0.6745693342637765,0.6370192064989072,10.622313326214076},
    Cood3D{-0.6658564777979947,1.0051559649048094,10.597493269687936},
    Cood3D{-0.684274823048903,-0.5259656535543644,10.767172444826706},
    Cood3D{-0.7155523142287971,-0.5200393131612798,10.699033393452094},
    Cood3D{-0.5569924579378124,-0.4803590951786428,10.695321474507388},
    Cood3D{-0.7034560765386871,-0.4730994394419821,10.628924851207897},
    Cood3D{-0.8516692550042997,1.045636071440988,10.651338554904765},
    Cood3D{-0.8442033241839383,1.0694545255874424,10.617502861445072},
    Cood3D{-0.626312345524603,1.0631980392152698,10.605250850222829},
    Cood3D{-0.6597830859905934,1.0168058960170836,10.961887527993508},
    Cood3D{-0.6196318115175279,1.0085021440894966,10.981850408845455},
    Cood3D{-0.4828045143088423,1.0391702813511583,10.817930158712672}
  };
  gl.ShowPose(arrData);
  gl.SignalThreadRun([](const std::array<Cood3D,25> &){
    return false;
  });
}
